#pragma once
#include "../common/lua_version.h"

#ifdef LUALIBRARY_EXPORTS
#define MY_LUA_API __declspec(dllexport)
#else
#define MY_LUA_API __declspec(dllimport)
#endif

#ifdef _WIN64
extern "C" MY_LUA_API int luaopen_lua_library(lua_State* L);
#else
extern "C" MY_LUA_API int luaopen_lua_library(lua_State* L);
#endif

void close_lua_library();

class lua_library
{
public:

    static int sleep(lua_State* L);

};
